import QtQuick 1.0



Item {
    width: 360
    height: 640
    OButton {

        onClicked:dialog.show = true
        text:"test"


        ODialog {
            id:dialog

            ListView {
                x:0
                y:0
                width: parent.width
                height: 640
                model:20
                delegate: OMenuItem {
                    title: "test"
                    onClicked: dialog.show = false
                }
            }


        }

    }
}







